package com.duobaoyu.dby.supply.db.repository.order;

import com.duobaoyu.dby.common.mybatis.base.DbyService;
import com.duobaoyu.dby.supply.common.biz.bo.product.OrderProductSellCountBO;
import com.duobaoyu.dby.supply.common.biz.dto.order.OrderProductStatisticsDTO;
import com.duobaoyu.dby.supply.db.entity.order.OrderProduct;

import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName OrderProductRepository
 * @createTime 15:46:00 2023/10/07
 */
public interface OrderProductRepository extends DbyService<OrderProduct> {

    /**
     * 统计商品销量
     */
    List<OrderProductSellCountBO> statisticsProductSellCount(OrderProductStatisticsDTO orderProductStatistics);
}
